package com.jt.www.biz.agree.service;

import com.jt.www.domain.po.AgreeManageEntity;
import com.jt.www.domain.qo.AgreeManageQueryVO;
import com.jt.www.domain.vo.AddManageVO;
import com.jt.www.model.reps.ResultDTO;
import org.springframework.stereotype.Service;

/**
 * @author admin_ltf
 * @create 2019-05-18 10:58
 */
@Service
public interface AgreeManageService {
    /**
     * 增加协议管理信息
     *
     * @param agreeManageEntity
     * @return
     */
    Integer addAgreeManageInfo(AgreeManageEntity agreeManageEntity);

    /**
     * 编辑协议管理信息
     * @param agreeManageEntity
     * @return
     */
//    Integer updateAgreeManageInfo(AgreeManageEntity agreeManageEntity);

    /**
     * 新增协议
     *
     * @param
     * @return
     */
    Integer updateAgree(AddManageVO addManageVO);

    /**
     * 协议失效
     *
     * @param orderNo
     * @return
     */
    Integer deleteAgree(String orderNo);

    /**
     * 删除协议
     * @param id
     * @return
     */
//    Integer deleteAgreeManageInfo(String id);

    /**
     * 条件查询协议管理信息-根据订单号分页
     *
     * @param agreeManageQueryVO
     * @return
     */
    ResultDTO searchAgreeManageInfoByExample(AgreeManageQueryVO agreeManageQueryVO);

    /**
     * 条件查询协议管理信息
     *
     * @param agreeManageQueryVO
     * @return
     */
    ResultDTO searchInfoPageByExample(AgreeManageQueryVO agreeManageQueryVO);
}
